-
Notifications
You must be signed in to change notification settings - Fork 87
Remove batching mechanism #689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Remove batching mechanism #689
Conversation
# Conflicts: # lib/OnyxUtils.ts
|
About Reassure check: I've run the reassure test locally several times, and it doesn't fail for me with the mentioned metric. |
stitesExpensify
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
mountiny
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me @mkhutornyi will do C+ review and testing for the checklist 🙌
|
@VickyStash are there no markdown/ docs to update? |
19fa645
Good point! I've re-generated the API docs |
|
Updates: Today I've experimented a lot with why the reassure check is failing. I've experimented in a separate PR not to pollute this one with investigations, cause the issue isn't reproduced when I run the reassure tests locally. I've truly found the consistency in some of my updates and the failing test. I've narrowed down what part of my updates is causing the failing test, but I haven't figured out why (debugging is a little tricky, cause the test locally doesn't hit the threshold) @mkhutornyi I'll ping you as soon as I deal with this! |
|
Update: So locally, failing test duration is always fine for me! Here are the local results: baseline - main: current - this PR branch (befor updating the reassure test, over the commit 35e880f) @mkhutornyi Can you please try to run Reassure tests locally on your end? Main branch vs 35e880f commit. By experimenting with Reassure CI, I've narrowed down, that the test is still passing without I've updated the test to handle before/after processes out of the measurements, but that's not our intention I beleive. |

Details
This PR removes outdated custom batching mechanism.
Related Issues
$ Expensify/App#79338
Automated Tests
N/A
Manual Tests
Author Checklist
### Related Issuessection aboveTestssectiontoggleReportand notonIconClick)myBool && <MyComponent />.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Avataris modified, I verified thatAvataris working as expected in all cases)mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android_web.mp4
iOS: Native
ios.mov
iOS: mWeb Safari
ios_web.mov
MacOS: Chrome / Safari
web.mp4